home *** CD-ROM | disk | FTP | other *** search
/ Internet Tools (InfoMagic) / Internet Tools.iso / dos_win / winsock / maillist / 94-05.Z / 94-05 / 000278_news@bigblue.oit.unc.edu_Thu May 19 15:58:56 1994.msg < prev    next >
Internet Message Format  |  1994-05-31  |  1KB

  1. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  2.           id AA29434; Fri, 20 May 1994 00:25:10 -0400
  3. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  4.           id AA32136; Thu, 19 May 1994 23:56:54 -0400
  5. Received: from GATEWAY by bigblue with netnews
  6.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  7. To: winsock@sunsite.unc.edu
  8. Date: Thu, 19 May 1994 15:58:56 GMT
  9. From: j.c.knowles@cdc.com
  10. Message-Id: <Cq220s.ADp@cdsmail.cdc.com>
  11. Organization: Control Data Systems
  12. Sender: ses
  13. Subject: INVALID_SOCKET on WIN32s
  14.  
  15.  
  16. I know that I cannot be the first on to experience this 
  17. problem of running WIN32 sockets on WIN32s!!
  18.  
  19. It seems that the value returned from a failed sock() call
  20. on WIN32s is 0x0000FFFF (at least this is on Novell's and 
  21. TCP's winsock implementation.).  Thus, the test for failure,
  22. sock() != INVALID_SOCKET (=(~0) =( 0xFFFFFFFF)), will not work!!
  23.  
  24. What sorts of work arounds have people be using to get around
  25. this problem????
  26.  
  27.  
  28. Any and all comments are welcome.
  29.  
  30. Jonathan Knowles
  31. j.c.knowles@cdc.com
  32.  
  33.